projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffe06f
)
GCC4.6: Squash warnings in diu.c
author
Marek Vasut
<
[email protected]
>
Fri, 21 Oct 2011 14:17:08 +0000
(14:17 +0000)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 27 Oct 2011 21:54:01 +0000
(23:54 +0200)
diu.c: In function 'diu_set_pixel_clock':
diu.c:77: warning: format '%lu' expects type 'long unsigned int', but argument 2
has type 'u32'
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Mike Frysinger <
[email protected]
>
board/freescale/p1022ds/diu.c
patch
|
blob
|
history
diff --git
a/board/freescale/p1022ds/diu.c
b/board/freescale/p1022ds/diu.c
index cef81ce0301217ed65e942d2a3d6fbc3f2aed851..d5428ea16de4fd0b2c893cbb768fc06ed66b158a 100644
(file)
--- a/
board/freescale/p1022ds/diu.c
+++ b/
board/freescale/p1022ds/diu.c
@@
-74,7
+74,7
@@
void diu_set_pixel_clock(unsigned int pixclock)
temp = 1000000000 / pixclock;
temp *= 1000;
pixval = speed_ccb / temp;
- debug("DIU pixval = %
l
u\n", pixval);
+ debug("DIU pixval = %u\n", pixval);
/* Modify PXCLK in GUTS CLKDVDR */
temp = in_be32(&gur->clkdvdr) & 0x2000FFFF;